/**
 * Created by yqj on 2017/2/4.
 */
module.exports = (Resource) => {
  const customActions = {
    getBookList: {method: 'GET', url: '/restapi/smartfactory/kb/define{/pageNumber}{/pageSize}{?nameOrNumberOrISBN}{&bookStatus}'},
    getTextBookList: {method: 'GET', url: '/restapi/smartfactory/kb/textbook/define{/pageNumber}{/pageSize}{?subject}{&grade}{&volume}{&useYear}{&suitVersion}{&series}{&brand}{&status}'}
  }
  return Resource('', {}, customActions)
}
